﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EBB RID: 3771
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueCommonRemoveMiracle : IMessage<RogueCommonRemoveMiracle>, IMessage, IEquatable<RogueCommonRemoveMiracle>, IDeepCloneable<RogueCommonRemoveMiracle>, IBufferMessage
	{
		// Token: 0x17002FCD RID: 12237
		// (get) Token: 0x0600A8F0 RID: 43248 RVA: 0x001C7FF4 File Offset: 0x001C61F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueCommonRemoveMiracle> Parser
		{
			get
			{
				return RogueCommonRemoveMiracle._parser;
			}
		}

		// Token: 0x17002FCE RID: 12238
		// (get) Token: 0x0600A8F1 RID: 43249 RVA: 0x001C7FFB File Offset: 0x001C61FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueCommonRemoveMiracleReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002FCF RID: 12239
		// (get) Token: 0x0600A8F2 RID: 43250 RVA: 0x001C800D File Offset: 0x001C620D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueCommonRemoveMiracle.Descriptor;
			}
		}

		// Token: 0x0600A8F3 RID: 43251 RVA: 0x001C8014 File Offset: 0x001C6214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveMiracle()
		{
		}

		// Token: 0x0600A8F4 RID: 43252 RVA: 0x001C801C File Offset: 0x001C621C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveMiracle(RogueCommonRemoveMiracle other) : this()
		{
			this.miracleId_ = other.miracleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A8F5 RID: 43253 RVA: 0x001C8041 File Offset: 0x001C6241
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCommonRemoveMiracle Clone()
		{
			return new RogueCommonRemoveMiracle(this);
		}

		// Token: 0x17002FD0 RID: 12240
		// (get) Token: 0x0600A8F6 RID: 43254 RVA: 0x001C8049 File Offset: 0x001C6249
		// (set) Token: 0x0600A8F7 RID: 43255 RVA: 0x001C8051 File Offset: 0x001C6251
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleId
		{
			get
			{
				return this.miracleId_;
			}
			set
			{
				this.miracleId_ = value;
			}
		}

		// Token: 0x0600A8F8 RID: 43256 RVA: 0x001C805A File Offset: 0x001C625A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueCommonRemoveMiracle);
		}

		// Token: 0x0600A8F9 RID: 43257 RVA: 0x001C8068 File Offset: 0x001C6268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueCommonRemoveMiracle other)
		{
			return other != null && (other == this || (this.MiracleId == other.MiracleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A8FA RID: 43258 RVA: 0x001C8098 File Offset: 0x001C6298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MiracleId != 0U)
			{
				num ^= this.MiracleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A8FB RID: 43259 RVA: 0x001C80D7 File Offset: 0x001C62D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A8FC RID: 43260 RVA: 0x001C80DF File Offset: 0x001C62DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A8FD RID: 43261 RVA: 0x001C80E8 File Offset: 0x001C62E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MiracleId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.MiracleId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A8FE RID: 43262 RVA: 0x001C811C File Offset: 0x001C631C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MiracleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A8FF RID: 43263 RVA: 0x001C815A File Offset: 0x001C635A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueCommonRemoveMiracle other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MiracleId != 0U)
			{
				this.MiracleId = other.MiracleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A900 RID: 43264 RVA: 0x001C818B File Offset: 0x001C638B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A901 RID: 43265 RVA: 0x001C8194 File Offset: 0x001C6394
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MiracleId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400448C RID: 17548
		private static readonly MessageParser<RogueCommonRemoveMiracle> _parser = new MessageParser<RogueCommonRemoveMiracle>(() => new RogueCommonRemoveMiracle());

		// Token: 0x0400448D RID: 17549
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400448E RID: 17550
		public const int MiracleIdFieldNumber = 9;

		// Token: 0x0400448F RID: 17551
		private uint miracleId_;
	}
}
